<script setup lang="ts">
defineProps({
  modelValue: {
    type: Object,
    required: true
  }
})
</script>
<template>
  <div>
    <h1>用户个人信息详情</h1>
    <p>{{ modelValue.username || 'username' }}</p>
    <p>{{ modelValue.isAdult === '1' ? '已成年' : '未成年' }}</p>
    <p>
      <span v-for="item in modelValue.likes" :key="item">{{ item }}、</span>
    </p>
  </div>
</template>
